﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace JXC.Core.Models
{
    /// <summary>
    /// 菜单信息表
    /// </summary>
   public class MenuInfos
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        //菜单编号
        public int Id { get; set;}
        //菜单名称
        public string MName { get; set; }
        //父级编号
        public int ParentId { get; set; }
        //父级名称
        public string ParentName { get; set; }
        //关联页面
        public string MUrl { get; set; }
        //是否顶级页面
        public int IsTop { get; set; }
        //排序号
        public int MOrder { get; set; }
        //是否已删除
        public int MenuState { get; set; }
       // public int IsDeleted { get; set; }
        //创建人
        public string Creator { get; set; }
        //创建时间
        public DateTime CreateTime { get; set; }
       
    }
}
